package org.example.spring03.serivce;

import org.example.spring03.dao.UserDao;

import org.springframework.stereotype.Service;

@Service
public class UserService {
    private UserDao USerDao=new UserDao();
    public UserService() {
        System.out.println("UserService构造方法执行");
    }

    public void add(){
        System.out.println("UserService的add方法执行");
    }
}
